package modelLayer;

import modelLayer.Staff;

public class Class {
	
	private String name;
	private int ID;
	private Staff staff;
	
	public Class(int iD, String name, Staff staff) {
		super();
		ID = iD;
		this.name = name;
		this.staff = staff;
	}

	public Class () {
		
	}

	public Staff getStaff() {
		return staff;
	}

	public void setStaff(Staff staff) {
		this.staff = staff;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getID() {
		return ID;
	}

	public void setID(int iD) {
		ID = iD;
	}

	@Override
	public String toString() {
		return name;
	}
	
}
